define(function(require){
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");
	var Model = function(){
		this.callParent();
		var me = this;
	};
	
	Model.prototype.test = function(event){
		var me = this;
		setTimeout(function(){
			var data = me.comp('fruitData');
			//给fWeight设置字符数据
			data.setValue('fWeight','500')
			var v = data.getValue("fWeight");
			alert('fWeight:('+typeof(v)+')'+v);
		},500); 
		
	}


	// 添加事件
	Model.prototype.modelLoad = function(event) {
		/*
		代码如下：
		justep.Shell.on("onRestoreContent", this.onRestoreContent, this);
		justep.Shell.on("onShoppingContent", this.onShoppingContent, this);
		justep.Shell.on("onHomeContent", this.onHomeContent, this);
		*/
	};
	// 卸载事件
	Model.prototype.modelUnLoad = function(event) {
		/*
		代码如下：
		justep.Shell.off("onRestoreContent", this.onRestoreContent);
		justep.Shell.off("onShoppingContent", this.onShoppingContent);
		justep.Shell.off("onHomeContent", this.onHomeContent);
		*/
	};
	return Model;
});